package com.snail.poker.service.impl;

import java.util.List;

import com.snail.poker.dao.DictionaryDao;
import com.snail.poker.model.Dictionary;
import com.snail.poker.service.DictionaryService;

public class DictionaryServiceImpl implements DictionaryService {
	private DictionaryDao dictDao;

	public DictionaryDao getDictDao() {
		return dictDao;
	}

	public void setDictDao(DictionaryDao dictDao) {
		this.dictDao = dictDao;
	}

	@Override
	public Dictionary getDict(int dictSn) {
		// TODO Auto-generated method stub
		return this.dictDao.getDict(dictSn);
	}

	@Override
	public List<Dictionary> queryDict(int key) {
		// TODO Auto-generated method stub
		return this.dictDao.queryDict(key);
	}

}
